package com.jaychen.tliaswebmanagement.service;

import com.jaychen.tliaswebmanagement.pojo.PageResult;
import com.jaychen.tliaswebmanagement.pojo.StuQueryParam;
import com.jaychen.tliaswebmanagement.pojo.Student;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

public interface StuService {
    PageResult<Student> page(StuQueryParam stuQueryParam);

    void delete(List<Integer> ids);

    void add(Student stu);

    Student getById(Integer id);

    void update(Student stu);

    void violate(Integer id, Integer score);
}
